#ifndef _DEVICE_JOYSTICK_INPUT_H_
#define _DEVICE_JOYSTICK_INPUT_H_

#include <dinput.h>
#include <array>

class DeviceJoyStickInput
{
public:
	DeviceJoyStickInput();
	~DeviceJoyStickInput();

	static BOOL EnumJoyDeviceProc(LPCDIDEVICEINSTANCE lpdi, LPVOID pvRef);

	void JoyStickInit();

	void JoyStickUpdate();

	void JoyStickFinish();

private:
	LPDIRECTINPUT8 _lpDI;
	LPDIRECTINPUTDEVICE8 _lpDIDevice;
	HWND _hWnd;
	//std::array<DeviceJoyStickInput, 16> _sticks;
};

#endif